Interface: PaginationProps
components/SimplePagination.PaginationProps
Props for SimplePagination.
Properties
pageIndex
• pageIndex: number
Index of the current page (starting from 0).
Defined in
src/web-app/src/components/SimplePagination.tsx:12
setPageIndex
• setPageIndex: (pageIndex
: number
) => void
Function to set the current page index.
Type declaration
▸ (pageIndex
): void
Parameters
Name | Type |
---|---|
pageIndex | number |
Returns
void
Defined in
src/web-app/src/components/SimplePagination.tsx:20
totalPages
• totalPages: number
Total number of pages.